/**
 * 
 */
package com.mooer.bean;

import java.util.HashMap;

/**
 * 预约Bean 主要是记录约客填写的信息
 * @author Minglong.Yu
 * @version 1.0 
 * @created May 3, 2011 10:46:21 AM
 */
public class Appointment {
	private int id;
	/*
	 * 预约的商家
	 */
	private Shop shop;
	/*
	 * 预约帐号
	 */
	private User user;
	/*
	 * 联系人
	 */
	private String contactName;
	/*
	 * 联系人称呼 
	 * 1 先生 0 女士
	 */
	private boolean sex;
	/*
	 * 联系人电话 
	 */
	private String contactPhone;
	/*
	 * 用户预定的日期
	 */
	private String orderDate;
	/*
	 * 用户选择的时间段
	 */
	private String selectedTime;
	/*
	 * 是否为包厢
	 */
	private boolean room;
	/*
	 * 预定截止日期
	 */
	private String expireDate;
	/*
	 * 预定时间选择列表
	 */
	private HashMap<String,String> timeOptions;
	/*
	 * 预定人数限定
	 */
	private int limit;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Shop getShop() {
		return shop;
	}
	public void setShop(Shop shop) {
		this.shop = shop;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getContactName() {
		return contactName;
	}
	public void setContactName(String contactName) {
		this.contactName = contactName;
	}
	public boolean isSex() {
		return sex;
	}
	public void setSex(boolean sex) {
		this.sex = sex;
	}
	public String getContactPhone() {
		return contactPhone;
	}
	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}
	public String getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}
	public String getSelectedTime() {
		return selectedTime;
	}
	public void setSelectedTime(String selectedTime) {
		this.selectedTime = selectedTime;
	}
	public String getExpireDate() {
		return expireDate;
	}
	public void setExpireDate(String expireDate) {
		this.expireDate = expireDate;
	}
	public HashMap<String, String> getTimeOptions() {
		return timeOptions;
	}
	public void setTimeOptions(HashMap<String, String> timeOptions) {
		this.timeOptions = timeOptions;
	}
	public int getLimit() {
		return limit;
	}
	public void setLimit(int limit) {
		this.limit = limit;
	}
	public boolean isRoom() {
		return room;
	}
	public void setRoom(boolean room) {
		this.room = room;
	}
	
}
